package com.liveneo.adapter.base.entity;

import com.liveneo.adapter.base.support.BaseEntity;
import java.util.Date;

/**
 * 推送信息表
 * 数据库表：prpm_mobile_push_msg
 * 
 * @author fucy
 * @since 2016-06-05
 */
public class PrpmMobilePushMsg extends BaseEntity {
    /**
     * 主键
     */
    private String  id;
    /**
     * 任务uuid
     */
    private String  caseUuid;
    /**
     * 报案号
     */
    private String  caseNo;
    /**
     * 任务uuid
     */
    private String  lossUuid;
    /**
     * 推送时间
     */
    private Date    sendTime;
    /**
     * 接收时间
     */
    private Date    receiveTime;
    /**
     * 接收人
     */
    private String  receiveName;
    /**
     * 推送内容
     */
    private String  newsMessage;
    /**
     * 推送状态：1成功，0失败
     */
    private Boolean sendStatus;
    /**
     * 是否获取：1是，0否
     */
    private Boolean isReceive;
    /**
     * 消息类型：1-报案推送；2-案件转人工推送；3-核损完成推送；4-转正常案件推送；5-查勘完成推送；6-单证补传推送；7-案件改派推送；8-案件撤销推送
     */
    private Byte    newstype;
    /**
     * 终端类型：1-ios,2-Android
     */
    private Boolean appType;
    /**
     * 推送次数 小于等于5次
     */
    private Byte    sendNum;
    /**
     * 最近一次推送时间
     */
    private Date    lastSendTime;
    /**
     * 标志位：预留字段（1-已读  2-删除）
     */
    private String  flag;
    /**
     * 备注：预留字段
     */
    private String  remark;
    /**
     * 预留字段
     */
    private String  n1;
    /**
     * 预留字段
     */
    private String  n2;
    /**
     * 预留字段
     */
    private String  n3;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCaseUuid() {
        return caseUuid;
    }

    public void setCaseUuid(String caseUuid) {
        this.caseUuid = caseUuid == null ? null : caseUuid.trim();
    }

    public String getCaseNo() {
        return caseNo;
    }

    public void setCaseNo(String caseNo) {
        this.caseNo = caseNo == null ? null : caseNo.trim();
    }

    public String getLossUuid() {
        return lossUuid;
    }

    public void setLossUuid(String lossUuid) {
        this.lossUuid = lossUuid == null ? null : lossUuid.trim();
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName == null ? null : receiveName.trim();
    }

    public String getNewsMessage() {
        return newsMessage;
    }

    public void setNewsMessage(String newsMessage) {
        this.newsMessage = newsMessage == null ? null : newsMessage.trim();
    }

    public Boolean getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(Boolean sendStatus) {
        this.sendStatus = sendStatus;
    }

    public Boolean getIsReceive() {
        return isReceive;
    }

    public void setIsReceive(Boolean isReceive) {
        this.isReceive = isReceive;
    }

    public Byte getNewstype() {
        return newstype;
    }

    public void setNewstype(Byte newstype) {
        this.newstype = newstype;
    }

    public Boolean getAppType() {
        return appType;
    }

    public void setAppType(Boolean appType) {
        this.appType = appType;
    }

    public Byte getSendNum() {
        return sendNum;
    }

    public void setSendNum(Byte sendNum) {
        this.sendNum = sendNum;
    }

    public Date getLastSendTime() {
        return lastSendTime;
    }

    public void setLastSendTime(Date lastSendTime) {
        this.lastSendTime = lastSendTime;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag == null ? null : flag.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getN1() {
        return n1;
    }

    public void setN1(String n1) {
        this.n1 = n1 == null ? null : n1.trim();
    }

    public String getN2() {
        return n2;
    }

    public void setN2(String n2) {
        this.n2 = n2 == null ? null : n2.trim();
    }

    public String getN3() {
        return n3;
    }

    public void setN3(String n3) {
        this.n3 = n3 == null ? null : n3.trim();
    }
}